package ccpv;

public class TrendLinear implements Trend {

	private double multiplier = 1;
	
	@Override
	public double nextValue(double value, int time) {
		return value*multiplier;
	}

	/**
	 * @param multiplier the multiplier to set
	 */
	public void setMultiplier(double multiplier) {
		this.multiplier = multiplier;
	}

	/**
	 * @return the multiplier
	 */
	public double getMultiplier() {
		return multiplier;
	}

}
